﻿<UserControl x:Class="ONa.Silverlight.UIComponents.UnitTests.SimpleHtmlFrame.Views.SimpleHtmlFrameView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    xmlns:UIComponents="clr-namespace:ONa.Silverlight.UIComponents;assembly=ONa.Silverlight.UIComponents">
    <Grid x:Name="LayoutRoot" Background="DimGray" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" HorizontalAlignment="Stretch">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="30"/>
                </Grid.ColumnDefinitions>
                <TextBox Grid.Column="0" x:Name="UrlText" Text="{Binding Url, Mode=TwoWay}" />
                <Button Grid.Column="1" Content="GO"/>
            </Grid>
            <UIComponents:HtmlFrame Grid.Row="1" NavigateUrl="{Binding Url}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    </Grid>
</UserControl>
    